package hcn.mch.response;

import javax.xml.bind.annotation.XmlElement;
import java.io.Serializable;

/**
 * @author fzy91
 * @title: PremaritalPhysical
 * @projectName GOL-ssdev4
 * @description: 婚前医学检查体格检查
 * @date 2022/11/8 9:52
 */
public class PremaritalPhysical implements Serializable {
    /*舒张压*/
    private Integer diastolicPressure;
    /*收缩压*/
    private Integer systolicPressure;
    /*生殖系统检查，0正常，1异常*/
    private Integer reproductiveSystem;

    @XmlElement(name = "DiastolicPressure")
    public Integer getDiastolicPressure() {
        return diastolicPressure;
    }

    public void setDiastolicPressure(Integer diastolicPressure) {
        this.diastolicPressure = diastolicPressure;
    }

    @XmlElement(name = "SystolicPressure")
    public Integer getSystolicPressure() {
        return systolicPressure;
    }

    public void setSystolicPressure(Integer systolicPressure) {
        this.systolicPressure = systolicPressure;
    }

    @XmlElement(name = "ReproductiveSystem")
    public Integer getReproductiveSystem() {
        return reproductiveSystem;
    }

    public void setReproductiveSystem(Integer reproductiveSystem) {
        this.reproductiveSystem = reproductiveSystem;
    }

    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("{");
        sb.append("\"diastolicPressure\":")
                .append(diastolicPressure);
        sb.append(",\"systolicPressure\":")
                .append(systolicPressure);
        sb.append(",\"reproductiveSystem\":")
                .append(reproductiveSystem);
        sb.append('}');
        return sb.toString();
    }
}

